package com.sxfq.loansupermarket.backsystem.modular.basicData.service;

import com.baomidou.mybatisplus.plugins.Page;
import com.sxfq.loansupermarket.backsystem.modular.basicData.entity.ConsumptionHabitsInfo;
import com.sxfq.loansupermarket.backsystem.modular.basicData.entity.SearchConsumptionHabitsInfo;

import java.util.List;
import java.util.Map;

/**
 * 预约客户信息
 *
 * @author py
 * @Date 2018年4月19日23:15:54
 */
public interface IConsumptionHabitsService {

    List<ConsumptionHabitsInfo> selectPageListByQueryGetMap(Page<ConsumptionHabitsInfo> page, SearchConsumptionHabitsInfo info);

    ConsumptionHabitsInfo selectOneById(String consumptionHabitsId);

    int insert(ConsumptionHabitsInfo info);

    void delete(String id);

    int update(ConsumptionHabitsInfo info);

    List<Map<String,Object>>  list();

}
